package com.educate.member.rpc.api;

import com.educate.device.model.bo.ChildBO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;

public interface ChildService {

    void create(ChildBO bo);

    void delete(ChildBO bo);

    void delete(String childId);

    ChildBO detail(String childId);

    ChildBO detail(ChildBO bo);

    void update(ChildBO bo);

    Page<ChildBO> query(ChildBO bo, PageRequest pageRequest);

    List<ChildBO> list(ChildBO bo);
}
